home *** CD-ROM | disk | FTP | other *** search
/ Money in the 90s / Money in the 90s - Windows (Laser Resources, Inc.)(1994).iso / si.zip / SMART.BAT < prev    next >
DOS Batch File  |  1993-10-25  |  2KB  |  68 lines

  1. @echo off
  2. if EXIST setups.bat call setups
  3.  
  4. if not exist rebootsi.bat goto NOREBOOT
  5. call rebootsi.bat
  6. :NOREBOOT
  7. if exist MARKER.SI goto MARKER
  8. echo SI > MARKER.SI
  9.  
  10. cd program
  11. if EXIST prepgm.bat call prepgm
  12. if EXIST dproc.exe del dproc.exe
  13. systest 3.3 492 2000 25 15
  14. if ERRORLEVEL == 5 goto VideoError
  15. if ERRORLEVEL == 4 goto FilesRanOut
  16. if ERRORLEVEL == 3 goto DiskSpaceRanOut
  17. if ERRORLEVEL == 2 goto MemoryRanOut
  18. if ERRORLEVEL == 1 goto BadDOSVersion
  19. %LOADHI% btrieve /M:32 /P:2048 /B:10 /F:10
  20. investor 8005 %1 %2 %3 %4 %5 %6 %7 %8 %9
  21.  
  22. if ERRORLEVEL == 255 goto xpause
  23. if ERRORLEVEL == 254 goto xpause
  24. if ERRORLEVEL == 253 goto xpause
  25. if ERRORLEVEL == 252 goto xpause
  26. if ERRORLEVEL == 251 goto xpause
  27. if ERRORLEVEL == 250 goto xpause
  28. if ERRORLEVEL == 249 goto xpause
  29. if ERRORLEVEL == 248 goto xpause
  30. if ERRORLEVEL == 247 goto xpause
  31. if ERRORLEVEL == 246 goto xpause
  32. if ERRORLEVEL == 245 goto xpause
  33. if ERRORLEVEL == 244 goto xpause
  34. if ERRORLEVEL == 243 goto BadDOSVersion
  35. if ERRORLEVEL == 242 goto FilesRanOut
  36. if ERRORLEVEL == 241 goto DiskSpaceRanOut
  37. if ERRORLEVEL == 240 goto MemoryRanOut
  38. goto zexit
  39.  
  40. :BadDOSVersion
  41. if exist ..\e_dos.bat call ..\e_dos.bat
  42. goto zexit
  43. :FilesRanOut
  44. if exist ..\e_files.bat call ..\e_files.bat
  45. goto zexit
  46. :DiskSpaceRanOut
  47. if exist ..\e_disk.bat call ..\e_disk.bat
  48. goto zexit
  49. :MemoryRanOut
  50. if exist ..\e_mem.bat call ..\e_mem.bat
  51. goto zexit
  52. :VideoError
  53. if exist ..\e_video.bat call ..\e_video.bat
  54. goto zexit
  55. :MARKER
  56. if exist e_marker.bat call e_marker.bat
  57. goto END
  58. :xpause
  59. if exist ..\e_misc.bat call ..\e_misc.bat
  60.  
  61. :zexit
  62. if EXIST postpgm.bat call postpgm
  63. cd..
  64. del MARKER.SI
  65.  
  66. if EXIST cleanup.bat call cleanup
  67. :END
  68.